package com.qf.day61.dao;

import com.qf.day61.entity.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDAO {
    Goods findById(Integer goodId);
    List<Goods> findAllByBrandIdAndCategoryIdAndGoodsName(
            @Param("brandId") Integer brandId,
            @Param("categoryId") Integer categoryId,
            @Param("goodsName")  String goodsName);
}